Skip to content

Remove concurrent.futures deadcode: process_result_item()#109906

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:cf_dead_code
Sep 26, 2023
Merged

Remove concurrent.futures deadcode: process_result_item()#109906
vstinner merged 1 commit intopython:mainfrom
vstinner:cf_dead_code

Conversation

@vstinner
Copy link
Member

process_result_item() cannot be called with an int anymore, the protocol changed.

process_result_item() cannot be called with an int anymore, the
protocol changed.
@vstinner
Copy link
Member Author

result_item cannot be an int, otherwise the line after process_result_item() failed, since an int doesn't have an exit_pid attribute:

                self.process_result_item(result_item)

                process_exited = result_item.exit_pid is not None

@vstinner vstinner merged commit ae1d99c into python:main Sep 26, 2023
@vstinner vstinner deleted the cf_dead_code branch September 26, 2023 19:34
csm10495 pushed a commit to csm10495/cpython that referenced this pull request Sep 28, 2023
)

process_result_item() cannot be called with an int anymore, the
protocol changed.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
)

process_result_item() cannot be called with an int anymore, the
protocol changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant